package com.htu.tax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htu.tax.common.ResponseModel;
import com.htu.tax.entity.TInvoice;
import com.htu.tax.payload.request.Invoice.addRequest;
import com.htu.tax.payload.request.Invoice.showRequest;
import com.htu.tax.payload.request.Invoice.update1Request;
import com.htu.tax.payload.request.Invoice.updateRequest;
import io.swagger.annotations.ApiModelProperty;

public interface ITInvoiceService extends IService<TInvoice> {
    @ApiModelProperty(value = "添加发票")
    ResponseModel addInvoice(addRequest request);

    @ApiModelProperty(value = "更新发票")
    void updateState(updateRequest request);

    @ApiModelProperty(value = "更新发票为1")
    void updateState1(update1Request request);

    @ApiModelProperty(value = "展示发票")
    IPage<TInvoice> show(showRequest request);
}
